package com.smart.wap.bodys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 角标
 * @author leo
 * @date 2023/10/23
 */
@Data
@Accessors(chain = true)
public class WorkOrderResult implements Serializable {

    @ApiModelProperty("待完成喂食工单")
    private Integer feeding = 0;

    @ApiModelProperty("待完成服务工单")
    private Integer service = 0;

    @ApiModelProperty("待完成入圈工单")
    private Integer enter = 0;

    @ApiModelProperty("待完成出圈工单")
    private Integer comeOut = 0;

    @ApiModelProperty("我管理的猪仔")
    private Integer oneManage = 0;

    @ApiModelProperty("待分配的工单(管理员)")
    private Integer assign = 0;


    @Data
    @Accessors(chain = true)
    public static class Finish{

        @ApiModelProperty("总共完成数量")
        private Integer cont = 0;

        @ApiModelProperty("喂食")
        private Integer feed = 0;

        @ApiModelProperty("入栏")
        private Integer enter = 0;

        @ApiModelProperty("服务")
        private Integer serve = 0;

        @ApiModelProperty("出栏")
        private Integer out = 0;

        @ApiModelProperty("治疗")
        private Integer sickness = 0;

        @ApiModelProperty("工单总数")
        private Integer total = 0;

        @ApiModelProperty("未完成")
        private Integer ToBeContinued = 0;


    }

}
